Delete Document FAQs
Frequently asked questions for the Delete Document guide.
What events are available for the Document Deletion object?
The Events tab in the Properties Viewer allows developers to add custom business logic for the Document Deletion object:
- Open the
Eventstab. - Double-click on the desired event.
- A method is automatically generated in the
FlowName.csfile. - Add your custom code inside the generated method to handle deletion-related scenarios.
When should the Document Deletion object be used?
The Document Deletion object is used to permanently delete project forms from the system.
Since deleted documents cannot be recovered, this object should only be used for forms that are obsolete and no longer needed.
What should I consider before using the Document Deletion object?
Before using the Document Deletion object:
- Confirm that the documents are no longer needed.
- Be aware that deleted forms are
permanently removedfrom the system. - Avoid using this object for active or important forms.
How do I configure the Document Deletion object to remove documents?
To configure the Document Deletion object:
- Go to the
Properties Viewerpanel. - Under the
Documentssection:- Select one or more
Documentobjects from the list. - These are the forms associated with the documents to be deleted.
- Select one or more
- The selected documents will be permanently removed during workflow exec